package br.ufal.ic.dao;

/**
 * Entidade abstrata que dará acesso a todos DAO's.
 *
 * @author Marcos Paulo
 */
public abstract class FacadeDAO {

    private static FacadeDAO instance;

    public FacadeDAO() {
    }

    public static void setFacadeDAO(FacadeDAO facadeDAO) {
        instance = facadeDAO;
    }

    public static FacadeDAO getInstance() {
        return instance;
    }

    public abstract UserDAO getUserDAO();

    public abstract TournamentDAO getTournamentDAO();

    public abstract DelegateDAO getDelegateDAO();

    public abstract RankingDAO getRankingDAO();
}
